<script lang="ts" setup>

</script>

<template>
<div class="newMusicItem">
  <div class="leftImg">
    <el-skeleton>
      <template #template>
        <el-skeleton-item variant="image" style="width: 100%; height: 100%" />
      </template>
    </el-skeleton>
  </div>
  <div class="rightDesc">
    <el-skeleton :rows="1" animated />
  </div>
</div>
</template>

<style lang="scss" scoped>
.newMusicItem {
  display: flex;
  width: 31%;
  height: 50px;
  margin-left: 15px;
  margin-bottom: 15px;

  .leftImg {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .rightDesc {
    flex: 1;
    margin-left: 10px;
  }
}

:deep(.el-skeleton) {
  height: 100%;
}
</style>
